class UserEntity {
  final String token;
  final String userName;
  final String password;

  UserEntity(
      {required this.token, required this.userName, required this.password});

  factory UserEntity.fromJson(Map<String, dynamic> json) {
    return UserEntity(
      token: json['token'] as String,
      userName: json['userName'] as String,
      password: json['password'] as String,
    );
  }
}
